
#include "junix.h"

struct A
{
    int i;
    int j;
};
    
int main()
{
    struct A a={1,2};

    printf("offsetof i:%d\n", offsetof(struct A,i));
    printf("offsetof i:%d\n", offsetof(struct A,j));
        
}

